#ifndef __CHILD__
#define __CHILD__

/* Include files. */

/* Macro constant definitions. */

#define SOCKET_BUFFER_SIZE		(131072U)

typedef enum 
{
	e_SHELL_NOR = 0,
	e_SHELL_FINISH,
	e_SHELL_MAX,
}e_shell_status;

/* Type definitions. */

/* External variable declarations. */

/* External function declarations. */

/* Macro API definitions. */

int createChildProcess();
int pipeWrite(int fd, const char *buf, int len);
int pipeRead(int fd, char *buf, int len, int *finish = NULL);


#endif

